<script language="javascript"> 
<!--
var state = 'none';

function showhide(layer_ref) {

<!--if (state == 'block') { state = 'none'; } else { state = 'block'; } -->
if (state == 'none')
{
	state = 'block';
}

if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
} 
//--> 
</script>

<div id="selling-page">
  <div class="entry-title">
    <h5><span>New Sale</span></h5>
  </div>
  <span id="uploadview" ></span>
	<form method="post" action="{sitepath}home/redirect">
   <?php echo validation_errors(); ?>
	<ul id="sellp-first-line" >
		<span><label>Type</label> 
		<select class="saleinput" type="text" name="product_type" value="">
			<option>Picture</option>
			<option>Music</option>
			<option>Video</option>
			<option>eBook</option>
			<option>Handmade</option>
			<option>Others</option>
		</select></span>
		<label>Name</label> 
		<input class="saleinput" type="text" name="product_name" value="" />
	</ul>
	<ul id="sellp-first-line">
		<label>Link</label>
		<input class="saleinput" type="text" name="product_link" value="" />
		<span id="upload-span">
			<label>Or upload file</label>
			<input class="upsaleinput" type="file" />
		</span>
	</ul>
	<ul id="sellp-first-line" >
		<span><label>Share On</label></span>
		<div id="bigfadesocial" >
			<table>
				<tr>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-twitter-color.png" alt="twitter" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-facebook-color.png" alt="facebook" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-linkedin-color.png" alt="twitter" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-digg-color.png" alt="diig" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-dribbble-color.png" alt="dribbble" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-email-color.png" alt="email" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-flickr-color.png" alt="flickr" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-forrst-color.png" alt="forrst" class="b" /></a></th>
					<th class="ligne" ><a href="#"><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-tumblr-color.png" alt="tumblr" class="b" /></a></th>
					<th class="ligne" ><a href=""><img src="{rootpath}wp-content/themes/Aventador-e-Commerce-Preview/images/icon-vimeo-color.png" alt="vimeo" class="b" /></a></th>
				</tr>
				<tr>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
					<th class="ligne" ><input type="checkbox" name="" value="" /></th>
				</tr>
			</table>	
		</div>
	</ul>
	<ul id="sellp-scd-line">
		<li><label>Description</label></li>
		<li><textarea class="desc_input" type="description" name="product_desc" value=""> </textarea></li>
		<li><input id="create-sale-btn" type="submit"  value="GO !" /></li>
	</ul>
	<ul id="sellp-scd-line" >
		<label>Profil Link</label>
		<input class="saleinput" type="text" name="product_profil_link" value="(e.g. Facebook, Twitter, Soundcloud...)" />
		<span id="product_price" >
		<label>Price</label>
		<input id="price_input" class="saleinput" type="description" name="product_price" value="" /><label>&euro;</label>
		</span>
	</ul>
	</form>
</div>
